package com.lucher.mes.dao;

import java.util.ArrayList;
import java.util.List;

import com.lucher.mes.po.Producematerial;
import com.lucher.mes.po.Toolplateinfo;

public interface ProducematerialMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Producematerial record);

    int insertSelective(Producematerial record);

    Producematerial selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Producematerial record);

    int updateByPrimaryKey(Producematerial record);
    
    //自定义接口
    List<Producematerial> findByList(Producematerial record);
    List<Producematerial> findByListForPage(Producematerial record);
    int findByCount(Producematerial record);
    int deleteByProducecode(String producecode);
    public Integer saveBatch(ArrayList<Producematerial> records);
}